package com.situ.project1.mapper;

import com.situ.project1.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author:yzy
 * @date:2024/8/10
 */
@Mapper
public interface EmployeeMapper {
    List<Employee> findAll(Employee employee);

    boolean add(Employee employee);

    boolean update(Employee employee);

    boolean delete(Integer[] ids);

    List<Employee> findRest(LocalDateTime startTime,LocalDateTime endTime);

    Employee findEmpId(String empName);
}
